home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac100% 1999 April
/
MAC100-1999-04.ISO.7z
/
MAC100-1999-04.ISO
/
オンラインソフト定点観測
/
Graphics
/
X-TRACE67.lzh
/
XTRACE R67
/
X-TRACE
/
X-TRACE.rsrc
/
TEXT_754_vrml_percam.xti.txt
< prev
next >
Wrap
Text File
|
1999-01-31
|
439b
|
17 lines
modela "PerspectiveCamera for VRML-MODELA bridge"
{
model
{
var width=vrml.percam.focalDistance*tan (vrml.percam.heightAngle);
para vrml.percam.position.x,
vrml.percam.position.y,
vrml.percam.position.z;
screw vrml.percam.orientation.x,
vrml.percam.orientation.y,
vrml.percam.orientation.z,
vrml.percam.orientation.rot*180/PI;
para 0,0,-1;
view width, 0,1,0, 0,0,1 - vrml.percam.focalDistance, 0,0,1;
}
}